<head>
    <style type="text/css">
        .style1
        {
            width: 250px;
            height: 72px;
        }
        .style2
        {
            width: 90px;
            height: 72px;
        }
    </style>
</head>
<%template _header%>
<%namespace YouHP.Model%>
<%namespace YouHP.Model.Group%>

<p>圈子成员列表：</p>
<div id ="memberlist">
<table cellpadding ="10" cellspacing ="5">
<tr><td align ="center">用户名</td><td  align ="center">级别</td><td  align ="center">发帖数</td><td align ="center">加入时间</td></tr>
<%csharp%>
foreach(GroupUserInfo User in GroupUserList)
{
<%/csharp%>
<tr>
<td><a href =""><img src ={User.UserAvatar}  width ="70" height ="70"/></a><a>{User.UserName}</a></td>
<td>{RoleName}</td> <td>{User.TopicCount}</td><<td>{User.JoinTime}</td>
</tr>
<%csharp%>
}
<%/csharp%>
</table>

 <div id ="pages" >
     <table style="width: 418px" >
     <tr><td class="style1">
            <div style="width: 288px">
	            <a href="&page={1}">第一页</a>
	            <a href="&page={_prevpage}">上一页</a>
	            <span>...</span>
            <%csharp%>
            int pageno = 0;
            for(int i=0; i < _pageCount; i++)
            {
	            pageno ++;
            <%/csharp%>	
            <%if {pageno}==_pageIndex %>
	            <a href="&page={pageno}"><b>{pageno}</b></a>
            <%else%>
	            <a href="&page={pageno}">{pageno}</a>
            <%/if%>
            <%csharp%>
            }
            <%/csharp%>	
               <span>...</span>
	            <a href="&page={_nextpage}">下一页</a>
	            <a href="&page={_pageCount}">最后一页</a>
            </div>	
            </td><td class="style2">
            <div>
            <form method ="post" action ="" style="height: 47px; width: 116px">
	            <select id="pagesel" name ="pagesel">
            <%csharp%>
            for(int i=1; i <= _pageCount; i++)
            {
            <%/csharp%>

            <%if i==_pageIndex %>
	            <option value={i} selected =selected >{i}</option>
            <%else%>
	            <option value={i}>{i}</option>
            <%/if%>

            <%csharp%>
            }
            <%/csharp%>
	            </select>
	            <input type ="submit" value ="跳转到" />
            </form>
            </div>
            </td></tr>
            </table>
            
  </div>
  </div>

<%template _footer%>